home *** CD-ROM | disk | FTP | other *** search
- Path: isonews.bbn.hp.com!hpbblb!news
- From: Matthias Dittrich <matti>
- Newsgroups: comp.lang.c
- Subject: Re: Hiding a password
- Date: 4 Mar 1996 07:28:00 GMT
- Organization: Hewlett-Packard Co.
- Message-ID: <4he620$qf2@hpbblb.bbn.hp.com>
- References: <1996Feb29.224936.137160@forest>
- NNTP-Posting-Host: trabant.bbn.hp.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.1N (X11; I; HP-UX A.09.07 9000/712)
- X-URL: news:1996Feb29.224936.137160@forest
-
- ebromber@forest.drew.edu wrote:
- >I recently wrote a password program. However, there is one little flaw I
- >want to fix. When the password is entered, it is visible on the screen. I
- >was wondering if anyone knows how to hide the password by printing
- >asterisks instead of the actual character.
- >Thanks in advance.
- >
- Switch echo off using ioctl function and if you want so, write asterisks
- on your terminal.
-
- Good luck,
- Matthias
-
-